package com.pdg.android.rockscissorspaper;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;

public class MainMenuActivity extends Activity {
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main_menu);
    }
    
    public void playButtonPressed(View theView){
        Intent myIntent = new Intent(theView.getContext(), PlayActivity.class);
        startActivityForResult(myIntent, 0);
    }
    public void instructionsButtonPressed(View theView){
        Intent myIntent = new Intent(theView.getContext(), InstructionsActivity.class);
        startActivityForResult(myIntent, 0);
    }
    public void aboutButtonPressed(View theView){
        Intent myIntent = new Intent(theView.getContext(), AboutActivity.class);
        startActivityForResult(myIntent, 0);
    }
    public void settingsButtonPressed(View theView){
        Intent myIntent = new Intent(theView.getContext(), SettingsActivity.class);
        startActivityForResult(myIntent, 0);
    }
    public void statisticsButtonPressed(View theView){
        Intent myIntent = new Intent(theView.getContext(), StatisticsActivity.class);
        startActivityForResult(myIntent, 0);
    }
}